#include"Queue.h"

void test01()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	QueuePush(&pq, 6);
	QueuePush(&pq, 7);
	QueuePush(&pq, 8);
	QueuePush(&pq, 9);
	QueuePush(&pq, 10);
	QueuePush(&pq, 11);

	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");
	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");
	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");
	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");
	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");
	QueuePop(&pq);
	printf("%d ", QueueSize(&pq));
	printf("%d ", QueueFront(&pq));
	printf("%d ", QueueBack(&pq));
	printf("\n");

	QueueDestroy(&pq);
}

int main()
{
	test01();
	return 0;
}